package com.fujitsu.hope.web.client.bean;

import java.io.Serializable;
import java.util.Date;

import jp.tkym.labs.store.annotation.Entity;
import jp.tkym.labs.store.annotation.PrimaryKey;

@SuppressWarnings("serial")
@Entity
public class Irc implements Serializable{
	private long id;
	private String nickname;
	private String channel;
	private String message;
	private Date time;
	
	@PrimaryKey(1)
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickName) {
		this.nickname = nickName;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage() {
		return message;
	}
}